package com.luobo.dmq.mapper;

import com.luobo.dmq.entity.FeedbackReciever;
import com.luobo.dmq.entity.FeedbackRecieverExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface FeedbackRecieverMapper {
    long countByExample(FeedbackRecieverExample example);

    int deleteByExample(FeedbackRecieverExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FeedbackReciever record);

    int insertSelective(FeedbackReciever record);

    List<FeedbackReciever> selectByExample(FeedbackRecieverExample example);

    FeedbackReciever selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FeedbackReciever record, @Param("example") FeedbackRecieverExample example);

    int updateByExample(@Param("record") FeedbackReciever record, @Param("example") FeedbackRecieverExample example);

    int updateByPrimaryKeySelective(FeedbackReciever record);

    int updateByPrimaryKey(FeedbackReciever record);
    
    List<String> selectEmails(Integer contactType);
    
    String[] selectTels(Integer contactType);
    
}